home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: HELP with array declaration
- Date: Sat, 30 Mar 96 17:23:33 GMT
- Organization: none
- Message-ID: <828206613snz@genesis.demon.co.uk>
- References: <315C7F92.30E18DFD@learning.c.com>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <315C7F92.30E18DFD@learning.c.com> ed@learning.c.com "Ed" writes:
-
- >Hi,
- >
- >I don't know why the compiler (gcc) complains given this code:
- >
- >
- >...
- >...
- >#define STRING 81
- >
- >void sort_insert(char a[][STRING], unsigned int numdata) {
- >
- >...
- >...
- >
- >}
- >
- >
- >The compiler says that "two or more data types in declaration of
- >'sort_insert' "
-
- That is fine and gcc here accepts it with no problem. Post a *complete*
- sample of code that demonstrates the problem.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-